<script setup>
const onClickLeft = () => history.back();
</script>

<template>
  <van-nav-bar
      :title="$route.meta.title"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
  />
</template>

<style scoped lang="scss">
.van-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; 
}

</style>
